In 1 pound / gallon [lb / gal] [metric US fluid] there is 2.03839899487437E+15 grain / cubic kilometer.